package com.example.demo.responseBodyAdvice.demo.db.repository;

import com.example.demo.responseBodyAdvice.demo.db.entity.UserInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface UserInfoRepository extends JpaRepository<UserInfo, Integer> {

    List<UserInfo> findAllByMobile(String mobile);
}